package com.zld.smarket.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

public class Stockin implements Serializable {
    private Long id;

    private Long stockinNo;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date stockinDate;

    private Long goodsNo;

    private Long stockinNum;

    private Long supplierId;

    private Long storehouseNo;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getStockinNo() {
        return stockinNo;
    }

    public void setStockinNo(Long stockinNo) {
        this.stockinNo = stockinNo;
    }

    public Date getStockinDate() {
        return stockinDate;
    }

    public void setStockinDate(Date stockinDate) {
        this.stockinDate = stockinDate;
    }

    public Long getGoodsNo() {
        return goodsNo;
    }

    public void setGoodsNo(Long goodsNo) {
        this.goodsNo = goodsNo;
    }

    public Long getStockinNum() {
        return stockinNum;
    }

    public void setStockinNum(Long stockinNum) {
        this.stockinNum = stockinNum;
    }

    public Long getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Long supplierId) {
        this.supplierId = supplierId;
    }

    public Long getStorehouseNo() {
        return storehouseNo;
    }

    public void setStorehouseNo(Long storehouseNo) {
        this.storehouseNo = storehouseNo;
    }
}